<?php

namespace App\HttpController\Api;

use App\HttpController\Api\BaseController;
use App\Logic\Order\OrderTaskStatisticsService;

/**
 * Class OrderTaskStatistics 每日订单任务汇总
 */
class OrderTaskStatistics extends BaseController {
    /**每日订单任务汇总列表     */
    public function index()
    {
        $service      = new OrderTaskStatisticsService();
        $result       = $service->getLists($this->request());
        return $this->writeJsonByOutput($result);
    }
    /**订单相关字典项目     */
    public function dict()
    {
        $service      = new OrderTaskStatisticsService();
        $result       = $service->getDict($this->request());
        return $this->writeJsonByOutput($result);
    }


}
